home *** CD-ROM | disk | FTP | other *** search
/ Visual Cafe 3 / Visual Cafe 3.ISO / Vcafe / Source.bin / ModalDialog.java < prev    next >
Text File  |  1998-08-21  |  681b  |  29 lines

  1. package symantec.itools.awt.util.dialog;
  2.  
  3. import java.awt.Frame;
  4.  
  5. /**
  6.  * Specifies a modal dialog.
  7.  * This dialog is not resizable and will close itself as needed.
  8.  */
  9. public class ModalDialog extends DialogBox {
  10.  
  11.     /**
  12.      * Constructs a ModalDialog with the given parent.
  13.      * @param f the frame of this dialogÆs parent
  14.      */
  15.     public ModalDialog(Frame f) {
  16.         super(f, true);
  17.     }
  18.  
  19.     /**
  20.      * Constructs a ModalDialog with the given parent and title.
  21.      * @param f the frame of this dialogÆs parent
  22.      * @param s the title for this dialog
  23.      */
  24.     public ModalDialog(Frame f, String s) {
  25.         super(f, s, true);
  26.     }
  27.  
  28. }
  29.